const {Schema,model}=require('mongoose');

let userSchema=new Schema({
  userName:String,
  account:String,
  password:String,
  sex:String,
  age:String,
  Info:String,
  img:{
    type:String,
    default:"wsvatar3057.jpg"
  },
},{versionKey:false});

const userMod=model('userMod',userSchema,'userInfo');
module.exports.userMod=userMod;